package com.alib.springcloud.service;


import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.stereotype.Service;

@Service
public class OrderService {

    @SentinelResource("goods") // 链路注解 + yaml web-context-unify: false 才会显示在仪表盘
    public  void queryGoods() {
        System.err.println("查询商品");
    }
}
